package com.eliteams.quick4j.web.service.impl;

import com.eliteams.quick4j.core.util.SearchUtil;
import com.eliteams.quick4j.web.service.BaiduSearchService;
import org.springframework.stereotype.Service;


/**
 * Created by Administrator on 2016/4/17.
 */
@Service
public class BaiduSearchServiceImpl implements BaiduSearchService {
    @Override
    public String search(String key) {
        String json = SearchUtil.searchBaidu10(key);
        return json;
//        BaiduBean baiduBean = JsonUtil.string2Bean(json);
//        return baiduBean.toString();
    }
}
